package com.pig4cloud.pig.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 学生表
 *
 * @author pig
 * @date 2025-07-21 17:20:31
 */
@Data
@TableName("student")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "学生表")
public class StudentEntity extends Model<StudentEntity> {

 
	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Integer id;
 
	/**
	* name
	*/
    @Schema(description="name")
    private String name;
}